import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/',
            name: 'Index',
            component: () => import('@/pages/Index.vue')
        },
        {
            path: '/personalInfo',
            name: 'personalInfo',
            component: () => import('@/pages/personalInfo.vue')
        },
        {
            path: '/personalInfoList',
            name: 'personalInfoList',
            component: () => import('@/pages/personalInfoList.vue')
        },
        {
            path: '/agreementList',
            name: 'agreementList',
            component: () => import('@/pages/agreementList.vue')
        },
        {
            path: '/agreementDetail',
            name: 'agreementDetail',
            component: () => import('@/pages/agreementDetail.vue')
        },
        {
            path: '/mine',
            name: 'mine',
            component: () => import('@/pages/mine.vue')
        },
        {
            path: '/qaList',
            name: 'qaList',
            component: () => import('@/pages/qaList.vue')
        },
        {
            path: '/schoolManual',
            name: 'schoolManual',
            component: () => import('@/pages/schoolManual.vue')
        },
        {
            path: '/tryOut',
            name: 'tryOut',
            component: () => import('@/pages/tryOut.vue')
        },
        {
            path: '/promote',
            name: 'promote',
            component: () => import('@/pages/promote.vue')
        }
    ]
});
